<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://127.0.0.1:8085/Core/Tips/TipService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" />
  <xs:element name="InsertTip">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q1:Tip" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipByCategory">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q2:Tip" />
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tipCategory" nillable="true" type="q3:TipCategory" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipByCategoryResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipByCategoryID">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q4:Tip" />
        <xs:element minOccurs="0" name="tipCategoryId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipByCategoryIDResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipByCategoryAndUserID">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q5:Tip" />
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tipCategory" nillable="true" type="q6:TipCategory" />
        <xs:element minOccurs="0" name="userId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipByCategoryAndUserIDResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveTip">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q7:Tip" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveTipResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveTips">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q8:ArrayOfTip" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveTipsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategory">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tipCategory" nillable="true" type="q9:TipCategory" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByParentCategory">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tipCategory" nillable="true" type="q10:TipCategory" />
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="parentTipCategory" nillable="true" type="q11:TipCategory" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByParentCategoryResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByParentCategoryID">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="category" nillable="true" type="q12:TipCategory" />
        <xs:element minOccurs="0" name="parentCategoryId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByParentCategoryIDResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByDetails">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="categoryName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="categoryDescription" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="ParentCategoryID" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByDetailsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByName">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="categoryName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="categoryDescription" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipCategoryByNameResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipViewed">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tipViewed" nillable="true" type="q13:TipViewed" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipViewedResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipViewedByUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q14:Tip" />
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="user" nillable="true" type="q15:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipViewedByUserResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipViewedByUserID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="tipId" type="xs:int" />
        <xs:element minOccurs="0" name="userId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InsertTipViewedByUserIDResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="IsTipApprovedByTipID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="tipId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="IsTipApprovedByTipIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IsTipApprovedByTipIDResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="IsTipApprovedByTip">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="tip" nillable="true" type="q16:Tip" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="IsTipApprovedByTipResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IsTipApprovedByTipResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMostPopularTips">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="categoryId" type="xs:int" />
        <xs:element minOccurs="0" name="count" type="xs:int" />
        <xs:element minOccurs="0" name="skip" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMostPopularTipsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="GetMostPopularTipsResult" nillable="true" type="q17:ArrayOfTip" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllTipCategories">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllTipCategoriesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/NutriLeaf.Web.Model" minOccurs="0" name="GetAllTipCategoriesResult" nillable="true" type="q18:ArrayOfTipCategory" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>